package br.com.lambdacore.ui.stripes.action;

import net.sourceforge.stripes.action.ActionBeanContext;

public class LambdaCoreActionBeanContext extends ActionBeanContext {

	@SuppressWarnings("unchecked")
	public <T> T getSessionAttribute(String key) {
		return (T) this.getRequest().getSession().getAttribute(key);
	}

	public <T> void setSessionAttribute(String key, T value) {
		this.getRequest().getSession().setAttribute(key, value);
	}

}
